package grape.workflow.service.task.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import grape.workflow.service.task.dto.TaskDto;
import grape.workflow.service.task.api.IWorkflowTaskService;
import grape.workflow.service.task.mapper.TaskMapper;
import grape.workflow.service.task.query.TaskQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yangwei
 * Created at 2020/6/17 11:08
 */
@Service
public class WorkflowTaskServiceImpl implements IWorkflowTaskService {

    @Autowired
    private TaskMapper taskMapper;

    @Override
    public IPage<TaskDto> taskUnreachable(IPage<TaskDto> page, TaskQuery taskParam) {
        return taskMapper.taskUnreachable(page,taskParam);
    }
}
